package com.david.concurrent.quickstart;

/**
 * @author wade
 * @version 1.0
 * @date 2021/7/19 15:12
 */
public class RunnableStart {
    public static class RunnableTask implements Runnable{

        @Override
        public void run() {
            System.out.println("i am a child thread!");
        }
    }

    public static void main(String[] args) {
        RunnableTask task = new RunnableTask();
        new Thread(task).start();
        new Thread(task).start();
    }
}
